package dialog.program;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletResponse;

class Book extends Document 
{
	public Book(String title, String authors, String isbn) 
 	{
		super(title);
 		this.ISBNCode = isbn;
 		this.authors = authors;
 		this.type = "book";
 	}
 	public void printInfo(HttpServletResponse response)
 		throws IOException, ServletException
 	{
 		printHeader(response);
 		printGeneralInfo(response);
 		printAvailability(response);
 	}
}